package by.msokoloff.javaweb2015.webapp.page.triporder;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.TripOrder;

public class TripOrderEditPanel extends Panel {
	
	public TripOrderEditPanel(String id, TripOrder tripOrder) {
		super(id);
		add(new TripOrderForm("tripOrderEditForm", new CompoundPropertyModel<TripOrder>(tripOrder)));
	}

}